package com.sciencep.pro.admin.system.controller;

import com.sciencep.pro.common.domain.ResponseResult;
import com.sciencep.pro.core.service.DingDingService;
import com.sciencep.pro.core.service.IBranchContactService;
import com.sciencep.pro.core.service.IBranchService;
import com.sciencep.pro.core.service.impl.TaskServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@RequestMapping("/test")
public class TestController {


    @Autowired
    DingDingService dingDingService;

    @Autowired
    IBranchService branchService;

    @Autowired
    IBranchContactService branchContactService;

    @Autowired
    TaskServiceImpl taskService;


    @GetMapping(value = "/show")
    public ResponseResult<Object> show() {
        return new ResponseResult<>().success(branchContactService.getContactByProId("54", "3"));

    }
}
